const state = {
	changeIndex: '/home/index',
}

const getters = {
	changeIndex: (state) => state.changeIndex,
}

const mutations = {
	UPDATE_STATE(state, data) {
		state.changeIndex = data
	},
}

const actions = {
	UPDATE_STATE_ASYN({commit}, data) {
		commit('UPDATE_STATE', data)
	},
}

export default {
	state,
	getters,
	mutations,
	actions
}
